-- GENERATED SPELL FOR [Gorishi Wasp] --


function spell0_6551(pUnit, Event) --@Silithid Pox,n/a--
pUnit:FullCastSpellOnTarget(8137,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6551', 2000, 1)
end

function Sorts_6551(pUnit, Event)
local choix_sorts_6551 = math.random(0, 0)
if choix_sorts_6551 == 0 then
pUnit:RegisterEvent('spell0_6551', 1, 1)
end
end

function mob6551_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6551', math.random(1500, 3000), 1)
end

function mob6551_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6551_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6551_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6551, 1, 'mob6551_Action')
RegisterUnitEvent(6551, 2, 'mob6551_Leave')
RegisterUnitEvent(6551, 3, 'mob6551_Kill')
RegisterUnitEvent(6551, 4, 'mob6551_Die')
